package com.jz.netthings.application.providerCreate.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.jz.netthings.appengine.baseData.ProviderInfo;
import com.jz.netthings.application.providerCreate.bean.ProviderXp;
import com.jz.netthings.application.providerCreate.bean.QueryProviderInfo;
import com.jz.netthings.application.providerReg.bean.ProviderReg;
import com.jz.netthings.exception.AdscmSystemException;
import com.jz.netthings.security.utils.Token;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-02-28
 */
public interface ProviderInfoService extends IService<ProviderInfo> {
    Page<ProviderInfo>   selectProviderInfo(Page<ProviderInfo> page, QueryProviderInfo queryProviderInfo) throws AdscmSystemException;

    Boolean updateProviderInfo(ProviderInfo providerInfo, Token token)throws AdscmSystemException;

    Boolean insertProviderInfo(ProviderInfo providerInfo, Token token)throws AdscmSystemException;

    void   issueCard(ProviderXp providerXp)throws AdscmSystemException;
}
